@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #be8314;
  --c-brand-light: #ffffffe5; 
  --c-brand-rgb: rgb(20, 190, 71);
  --c-body: #4b4946;
  --font-base: "generalsans", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
  --transition: alll 0.5s ease;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--c-body);
}

h1, h2, h3, h4, h5, h6
.h1, .h2, .h3, .h4, h5, .h6 {
  font-weight: 600;
  color: var(--c-dark);
}

a{
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand-light);
}

img {
  max-width: 150px;
  height: auto;
}


.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
}

.bg-cover{
  background-position: center !important;
  background-size: cover !important;
  background-position: center !important;
}


/* navbar */
.navbar {
  box-shadow: var(--box-shadow);
}
.navbar .navbar-nav .nav-link:hover{
  color: #be8314;
  text-decoration: underline;
}
.navbar .navbar-nav .nav-link {
  font-weight: 500;
  color: var(--c-dark);
}

.navbar .navbar-nav .nav-link.active {
  color: var(--c-brand);
}


/* BTN */
.btn {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px, 24px;
}

.btn-brand {
  background-color: var(--c-brand) !important;
  border-color: var(--c-brand) !important;
  color: white !important;
}

.btn-brand:hover {
  background-color: white !important;
  border-color: white !important;
  color: gray !important;
}

/* Halaman Kontak Page */
/* Bagian 1 */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh; 
  background: url('../image/Sampul\ kontak\ page.jpg') center/cover no-repeat; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

/* Overlay Gelap */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Efek gelap transparan */
}

/* Konten Tengah */
.hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 20px;
}

/* Styling Teks */
.hero-content h1 {
  font-size: 52px;
  font-family: 'General sans', sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content .subheading {
  font-size: 24px;
  font-family: 'General sans', sans-serif;
  font-weight: 400;
  margin-bottom: 5px; 
}

.hero-content .small-text {
  font-size: 24px;
  font-family: 'General sans', sans-serif;
  font-weight: 400;
  line-height: 1.2; 
}

/* Bagian 2 */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1200px;
  margin: 50px auto 0;
}

/* Bagian Kiri */
.contact-info {
  width: 45%;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: bold;
}

.contact-info p {
  font-size: 16px;
  color: #666;
}

/* Info Box */
.info-row {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-box {
  background: orange;
  color: white;
  width: 50px;  
  height: 50px;  
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  font-size: 16px;  
  padding: 5px;  
}

.icon-box img {
  width: 28px;   
  height: 28px;
  object-fit: contain;
}

/* Divider */
.divider {
  width: 100%;
  height: 3px;
  background: orange;
  margin: 20px 0;
}

/* Social Media */
.social-media {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .icon {
  color: black;
  font-size: 20px;
  text-decoration: none;
}

/* Bagian Kanan - Form */
.contact-form {
  width: 45%;
  background: rgb(255, 229, 180);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-family: 'General sans', sans-serif;
}

.input-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  overflow: hidden;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
  font-family: 'General sans', sans-serif;
}

.input-group {
  width: 100%;
  margin-bottom: 15px;
}

.input-group label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px !important;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  width: 25%;
  padding: 10px;
  background: #002855;
  color: white;
  border: none;
  border-radius: 5px !important;
  cursor: pointer;
  font-size: 16px;
  font-family: 'General sans', sans-serif;
}

button:hover {
  background: #001f40;
}

/* Default (Desktop) */
.mobile-form {
  display: none;
}

/* Mobile View */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .desktop-form {
    display: none;
  }

  .mobile-form {
    display: block;
  }

  .input-row {
    flex-direction: column;
    gap: 10px;
  }

  button {
    width: 100%;
  }
}

/* Bagian 3 */
.map-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.map-embed {
  width: 80%; 
  max-width: 1200px;
  height: 300px; 
  border-radius: 15px; 
  border: none; 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); 
}

/* Footer */
footer {
    background-color: #20262E;
    color: #ffffff;
    padding: 40px 20px;
  }
  footer a {
    color: #ffffff;
    text-decoration: none;
  }
  footer a:hover {
    color: orange;
  }
  .social-icons a {
    margin-right: 15px;
    color: #ffffff;
    font-size: 20px;
  }
  .social-icons a:hover {
    color: orange;
  }
  .menu-list a {
    display: block;
    margin-bottom: 10px;
  }
  .subscribe input {
    margin-bottom: 10px;
  }